# test.sh
# !/bin/sh
pssh -h $PBS_NODEFILE -i "if [ ! -d \"/home/s2013904/test\" ];then mkdir -p \"/home/s2013904/test\"; fi" 1>&2
pscp -h $PBS_NODEFILE /home/s2013904/test/p1 /home/s2013904/test 1>&2
perf stat -e cache-misses,cache-references /home/s2013904/test/p1